From 3c274150e1e37da5fb720e70ef3eff155ba48b08 Mon Sep 17 00:00:00 2001 From: lzutao Date: Wed, 30 Oct 2019 14:51:17 +0700 Subject: [PATCH] [PATCH] Use array::iter See clippy::into_iter lint and https://github.com/rust-lang/rust/pull/65819 Gbp-Pq: Name use-array-iter.patch --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index d1292bc..d36826b 100644 --- a/build.rs +++ b/build.rs @@ -421,7 +421,7 @@ fn build_c_code(target: &Target, pregenerated: PathBuf, out_dir: &Path) { // XXX: Ideally, ring-test would only be built for `cargo test`, but Cargo // can't do that yet. - libs.into_iter() + libs.iter() .for_each(|&(lib_name, srcs, additional_srcs)| { build_library( &target, -- 2.30.2